<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button onclick="openW()">查看浏览器信息</button>

    <script>
        var newWin;

        function openW() {
            var st = setTimeout(function () {//上机二，定时跳转
                newWin = window.open('./navigator.html', '_blank', 'width=450,height=450', true);
            }, 3000);
            var st1 = setTimeout(
                function () {
                    newWin.close();
                    location.href = "./navigator.html"; //上机三，网页的重定向
                }, 8000);
        }

    </script>
</body>

</html>